package cn.xiaoming.car.pojo.car.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Anan
 */
@Data
@TableName("parameter")
public class Style implements Serializable {
    /**
     * 数据ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private Integer brandId;

    private String brandName;

    private Integer seriesId;

    private String seriesName;

    private Double price;

    private String registration;

    private String year;

    /**
     * 数据创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    /**
     * 数据最后修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;

}
